<?php foreach($breadcrum as $key=> $item):
?>
<?php if($key<$count-1): ?> 
<a href="<?php echo Agilet::getUrl($item['url']); ?>"><?php echo __text($item['label']); ?>
</a>
<?php else: ?>
<span><?php echo __text($item['label']); ?>
</span>
<?php endif; ?>
<?php if($key < $count-1):
?>
<span class="divider"> / </span><?php endif; ?>
<?php endforeach; ?>
<?php
if (isset($title) && $title):
?>
<h1><?php echo __text($title); ?>
</h1>
<?php endif; ?>
<?php
if (isset($toolbar) && $toolbar)
{
	echo Toolbar::factory($toolbar) -> render();
};
?>
